import { createMemoryHistory, createRouter } from 'vue-router'

// import Login from '../views/Login/login.vue'

const routes = [
    { path: '/login', component: ()=> import("../views/Login/index.vue") },
    { path: '/', component:()=> import("../views/Login/login.vue") },
    { path: '/register', component:()=> import("../views/Home/register.vue") },
]

const router = createRouter({
    history: createMemoryHistory(),
    routes,
})

export default router